package cn.com.ejiakanghu.dto;

import java.math.BigDecimal;

/**
 * @author wj
 * @date 2022/2/16 16:10
 */
public class GoodsLeaseRules {

    private BigDecimal price;

    private Integer begin;

    private Integer end;

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getBegin() {
        return begin;
    }

    public void setBegin(Integer begin) {
        this.begin = begin;
    }

    public Integer getEnd() {
        return end;
    }

    public void setEnd(Integer end) {
        this.end = end;
    }

    public GoodsLeaseRules() {
    }

    public GoodsLeaseRules(BigDecimal price, Integer begin, Integer end) {
        this.price = price;
        this.begin = begin;
        this.end = end;
    }

    public GoodsLeaseRules(ChargeLadderPrice chargeLadderPrice) {
        this.price = chargeLadderPrice.getPrice();
        this.begin = chargeLadderPrice.getBegin();
        this.end = chargeLadderPrice.getEnd();
    }
}
